<?php
class ask
{	function __construct()
	{		echo ('
		<link rel="stylesheet" type="text/css" href="style/ask.css" />
		<script type="text/javascript" src="scripts/ask.js">
		</script>
		');	}
	function answer($inputName, $answer)
	{		echo ('
		<div class="answerfon" id="answer'.$inputName.'">
			<div class="answer">
				<div class="closeBut">
					<img src="images/close.jpg" alt="" title="закрыть" />
				</div>
				<center>
					<img src="images/answericon.jpg" />
				</center>
				<div class="answerBody">
					'.$answer.'
				</div>
			</div>
		</div>
		');	}
	function askButton($inputName)
	{		echo ('
		<img class="ask" id="'.$inputName.'" src="images/ask.jpg" alt="подсказка" title="подсказка" />
		');	}}
?>